package com.bitcola.security.admin.mapper;

import com.bitcola.entity.ColaAppBanner;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface ColaBannerMapper extends Mapper<ColaAppBanner> {

    /**
     * banner列表
     * @return
     */
    List<ColaAppBanner> list();

    /**
     * 详情
     * @param id
     * @return
     */
    ColaAppBanner findByCondition(@Param("id") String id);
}
